package com.konke.sdslibrary.event;

/**
 * Created by L on 2016/7/7.
 */
public class AirSwitchStatusEvent extends RoomDeviceStatusEvent{

    private boolean on;
    private boolean online;
    private boolean loadAlarm;
    private boolean temperatureAlarm;

    public AirSwitchStatusEvent(String ccuId, int deviceId, int roomId) {
        super(ccuId, deviceId, roomId);
    }

    public boolean isOn() {
        return on;
    }

    public void setOn(boolean on) {
        this.on = on;
    }

    public boolean isOnline() {
        return online;
    }

    public void setOnline(boolean online) {
        this.online = online;
    }

    public boolean isLoadAlarm() {
        return loadAlarm;
    }

    public void setLoadAlarm(boolean loadAlarm) {
        this.loadAlarm = loadAlarm;
    }

    public boolean isTemperatureAlarm() {
        return temperatureAlarm;
    }

    public void setTemperatureAlarm(boolean temperatureAlarm) {
        this.temperatureAlarm = temperatureAlarm;
    }
}
